import { createBrowserRouter } from 'react-router-dom'
import { Element } from '../css-the-definitive-guide/css&document/element'
import { ContentFadeEffect } from '../skill/content-fade-effect'

const router = createBrowserRouter([
    {
        path: "/",
        index: true,
        element: <Element />
    },
    {
        path: '/content-fade-effect',
        element: <ContentFadeEffect />
    }
])

export default router